<?php
$this->breadcrumbs=array(
	$this->module->id,
);
?>
<p>
	<h1>Admin dashboard</h1>
</p>
	<div id="links">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Dynamic content', //'url'=>array('/admin/articles/admin'), 
					'items' => array(
						array('label'=>'Articles', 'url'=>array('/admin/articles/admin'), 'items' => array(
							array('label'=>'Article Notes', 'url'=>array('/admin/articlenotes/admin')),
							array('label'=>'Article Products', 'url'=>array('/admin/articleproducts/admin')),
						)),
						array('label'=>'Pages', 'url'=>array('/admin/pages/admin')),
                        array('label'=>'Project partners', 'url'=>array('/admin/projectpartners/admin')),
					)
				),
				array('label'=>'Questions', 'url'=>array('/admin/questions/admin'),
					'items' => array(
						array('label'=>'Question fields', 'url'=>array('/admin/questionfields/admin')),
						
						array('label'=>'Question field results/effects', 'url'=>array('/admin/questionfieldresults/admin')),
						array('label'=>'Question field types', 'url'=>array('/admin/questionfieldtypes/admin')),
					)
				),
				
				array('label'=>'Additional data for Questions', //'url'=>array('/admin/changes/admin'),
					'items' => array(
						array('label'=>'Question sections', 'url'=>array('/admin/sections/admin')),
						array('label'=>'Changes', 'url'=>array('/admin/changes/admin'), 'items' => array(
							array('label'=>'Articles for Changes', 'url'=>array('/admin/changesarticles/admin')),
							array('label'=>'Products for Changes', 'url'=>array('/admin/changesproducts/admin')),
						)),
						array('label'=>'Reduce types', 'url'=>array('/admin/reducetypes/admin')),
						array('label'=>'Doing well', 'url'=>array('/admin/doingwell/admin')),
						array('label'=>'Did you know', 'url'=>array('/admin/didyouknow/admin')),
					)				
				),
				array('label'=>'Products', 'url'=>array('/admin/products/admin'),
					'items' => array(
						array('label'=>'Products category', 'url'=>array('/admin/productcategory/admin')),
					)				
				),
				array('label'=>'Users', 'url'=>array('/admin/users/admin'),
					'items' => array(
						array('label'=>'User groups', 'url'=>array('/admin/usergroup/admin')),
						array('label'=>'Pledge Confirmation', 'url'=>array('/admin/pledgeconfirmation/admin')),
					)					
				),
				array('label'=>'Reports', //'url'=>array('/admin/users/admin'),
					'items' => array(
						array('label'=>'Assessment results', 'url'=>array('/admin/userresults/admin')),
						array('label'=>'Pages views', 'url'=>array('/admin/pageviewlog/admin')),
					)					
				),
				),
		)); ?>
	</div><!-- mainmenu -->



